package com.ssy.lingxi.logistics.api.dto.request;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 主键id请求实体类
 * @author yzc
 * @version 2.0.0
 * @date 2020/8/6
 */
public class CommonIdsRequest implements Serializable {

    private static final long serialVersionUID = 1106232258057901379L;

    /**
     * 主键id
     */
    @NotEmpty(message = "主键id不能为空")
    private List<Long> ids;

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }
}
